﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="KTSonline.administrator.WebForm1" %>
<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <CKEditor:CKEditorControl ID="CKEditor1" runat="server" StartupMode="Source"></CKEditor:CKEditorControl>
    </div>
    <asp:Button ID="Button1" runat="server" Text="Button" onclick="Button1_Click" />
    <asp:Button ID="Button2" runat="server" Text="clear db" 
        onclick="Button2_Click" />
    <asp:Button ID="Button3" runat="server" onclick="Button3_Click" Text="Button" />
    <br />
    <br />
    NHA_SAN_XUAT<br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="id" DataSourceID="LinqDataSource1">
        <Columns>
            <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
            <asp:BoundField DataField="id" HeaderText="id" InsertVisible="False" 
                ReadOnly="True" SortExpression="id" />
            <asp:BoundField DataField="tennhasanxuat" HeaderText="tennhasanxuat" 
                SortExpression="tennhasanxuat" />
            <asp:BoundField DataField="logo" HeaderText="logo" SortExpression="logo" />
            <asp:BoundField DataField="url" HeaderText="url" SortExpression="url" />
        </Columns>
    </asp:GridView>
    <asp:LinqDataSource ID="LinqDataSource1" runat="server" 
        ContextTypeName="KTSonline.KTSonlineDataContext" EnableDelete="True" 
        EnableInsert="True" EnableUpdate="True" TableName="NHA_SAN_XUATs">
    </asp:LinqDataSource>
    <br />
    IDENTITY_CONTROL<br />
    <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="tenbang" DataSourceID="LinqDataSource2">
        <Columns>
            <asp:CommandField ShowDeleteButton="True" ShowEditButton="True" />
            <asp:BoundField DataField="tenbang" HeaderText="tenbang" ReadOnly="True" 
                SortExpression="tenbang" />
            <asp:BoundField DataField="mabang" HeaderText="mabang" 
                SortExpression="mabang" />
            <asp:BoundField DataField="tenhienthi" HeaderText="tenhienthi" 
                SortExpression="tenhienthi" />
            <asp:BoundField DataField="sothutu" HeaderText="sothutu" 
                SortExpression="sothutu" />
        </Columns>
    </asp:GridView>
    <asp:LinqDataSource ID="LinqDataSource2" runat="server" 
        ContextTypeName="KTSonline.KTSonlineDataContext" EnableDelete="True" 
        EnableInsert="True" EnableUpdate="True" TableName="IDENTITY_CONTROLs">
    </asp:LinqDataSource>
    </form>
</body>
</html>
